package com.hfdg.process.ctrl;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName ProcessViewCtrl
 * @Description TODO
 * @Author yuelh
 * @Date 2020-2-9 13:01
 * @Version 1.0
 * @Company 会飞的锅工作室
 **/
@Controller
@RequestMapping("/processView")
public class ProcessViewCtrl {
    @RequestMapping("/toSubmit")
    public String toSubmit(@PathVariable String view, String taskId, String opinion, Model model){
        model.addAttribute("taskId",taskId);
        model.addAttribute("opinion",opinion);
        return "commons/process/template/submit";
    }
}
